//
//  AgencyViewController.m
//  项目三
//
//  Created by rimi on 15/9/28.
//  Copyright (c) 2015年 rimi. All rights reserved.
//

#import "AgencyViewController.h"

@interface AgencyViewController ()
- (void)initializeUserInterface; /**< 初始化用户界面 */

@end

@implementation AgencyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self initializeUserInterface];
}

- (void)initializeUserInterface {
    
    self.titleImageView.image = [UIImage imageNamed:@"图标-代理产品"];
    [super initializeUserInterface];
    
    UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
    [btn setBackgroundImage:[UIImage imageNamed:@"选中-代理产品-金融产品_13"] forState:UIControlStateNormal];
    [btn setFrame:DHFlexibleFrame(CGRectMake(211, 24, 102, 32))];
    [btn addTarget:self action:@selector(respondsToBtnEvent:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:btn];
    
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(320, 485, 70, 15)];
    
    label.text = @"暂无产品";
    label.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:label];

}
- (void)respondsToBtnEvent:(UIButton *)sender {

    
}
@end
